package com.zs.toolbox.web2j.system.core.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @author shuai.zhang  on 2018/9/26
 * @description
 */
@Data
@ApiModel("绑定/解绑邮箱")
public class WtBindEmailReqeust {
    @ApiModelProperty(value = "要绑定或解绑的邮箱", example = "3163504123@163.com")
    @Email(message = "邮箱格式不合法")
    String email;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "要校验验证码", required = true)
    String vcode;
}
